const messages = [];

export const log = (msg: string, style?: string) => {
  messages.push({msg, style});
};

export const recentLog = () => {
  return [...messages];
};
